/*******************************************************************************
 * FilePath    : /Software/Examples_Ble_MS1658/ble_app_peripheral_LED/Src/User/User_Led.h
 * Version     : 1.0
 * Brief       : 
 * Author      : AndrewHu
 * Company     : Shanghai MacroGiga Electronics CO.,Ltd
 * Email       : Hubinbo@macrogiga.com
 * Date        : 2020-04-03 15:15:31
 * LastEditors : AndrewHu
 * LastEditTime: 2021-09-26 14:59:11
 * Description : 
 ******************************************************************************/
#ifndef __USER_LED_H__
#define __USER_LED_H__
/* Includes ------------------------------------------------------------------*/
#include <Includes.h>
/* Private typedef -----------------------------------------------------------*/
/* Private define ------------------------------------------------------------*/
/* Private macro -------------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/
/* Private function ----------------------------------------------------------*/
/*******************************************************************************
 * Function    : setLedStatus
 * Brief       : LED亮灭控制
 * Parameter   : x-占空比，最大0xff
 * Returns     : 
 * Date        : 2020-04-03 15:59:24
 * Description : 
 ******************************************************************************/
void setLedStatus(u16 r, u16 g, u16 b, u16 c, u16 w);
/*******************************************************************************
 * Function    : setLedStatusSlow
 * Brief       : 设置灯色，渐变，渐变速度取决于调用周期，每次调整1/x。
 * param        {*}
 * return       {*}
 * Description : 
 * Date        : 2021-09-26 11:25:29
 ******************************************************************************/
void setLedStatusSlow(u16 r, u16 g, u16 b, u16 c, u16 w);
/* extern --------------------------------------------------------------------*/

#endif
